package com.dlc.shop.user.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.user.common.model.PopupUserLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 弹窗广告关联
 * @author TRACK
 */
public interface PopupUserLogMapper extends BaseMapper<PopupUserLog> {

    /**
     * 根据弹窗广告id删除弹窗广告日志
     * @param popupId id
     */
    void deleteById(@Param("popupId") Long popupId);

    /**
     * 根据条件查询
     * @param popupUserLog
     * @return
     */
    List<PopupUserLog> getByCondition(@Param("popupUserLog") PopupUserLog popupUserLog);
}
